#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void Test()

{

	static int staticVar = 1;

	int localVar = 1;



	int num1[10] = { 1, 2, 3, 4 };

	char char2[] = "abcd";

	char* pChar3 = "abcd";

	int* ptr1 = (int*)malloc(sizeof(int) * 4);

	int* ptr2 = (int*)calloc(4, sizeof(int));

	int* ptr3 = (int*)realloc(ptr2, sizeof(int) * 4);

	printf("%zd\n", sizeof(num1));//40
	printf("%zd\n", sizeof(char2) );//5
	printf("%zd\n", strlen(char2));//4
	printf("%zd\n", sizeof(pChar3));//8
	printf("%zd\n", strlen(pChar3));//4
	printf("%zd\n", sizeof(ptr1));//8


	free(ptr1);

	free(ptr3);

}

int main()
{
	Test();
	return 0;
}